<br><br><br><br><br><br>
<?php foreach ($periodicidad as $per){
    
    $pers = Doctrine_Query::create()
            ->from('LlamadaServicio serv')
            ->where('serv.usuario_id=?',$per->getId())
            ->addWhere('serv.categoria_id=?',$categoria)
            ->delete()->execute();
    
    echo $per->getId()."<br>";

    
}

?>